package com.lapis17.stock.service;

import cn.hutool.http.server.HttpServerResponse;
import com.lapis17.stock.pojo.domain.*;
import com.lapis17.stock.vo.resp.PageResult;
import com.lapis17.stock.vo.resp.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface StockService {
    R<List<InnerMarketDomain>> getStockInfo();

    R<List<StockBlockDomain>> getStockBlock();

    R<PageResult<StockUpdownDomain>> stockInfoByPage(Integer page, Integer pageSize);

    R<List<StockUpdownDomain>> getIncrease();

    R<Map<String, List>> stockInfoUpDownCount();

    void exportStockUpDownInfo(Integer page, Integer pageSize, HttpServletResponse httpServletResponse);

    R<Map<String, List>> getStockComparedTradeAmt();

    R<Map> getStockInfoCount();

    R<List<Stock4MinuteDomain>> stockScreenTimeSharing(String code);

    R<StockSecondDetailDomain> stockScreenSecondDetail(String code);

    R<List<Stock4EvrDayDomain>> stockCreenDkLine(String stockCode);

    R<List<Stock4EvrWeekDomain>> stockCreenWkLine(String stockCode);

    R<List<Map>> stockSearchObscure(String searchStr);

    R<List<StockScreenSecondDomain>> stockScreenSecond(String code);

    R<stockBusinessDomain> stockDescribe(String code);
}
